class StateTransition < ActiveRecord::Base
  belongs_to :event
  belongs_to :from_state,:class_name=>'State',:foreign_key=>'from_id'
  belongs_to :to_state,:class_name=>'State',:foreign_key=>'to_id'
end
